<h1>Listar Participantes</h1>

<table>
  <tr>
  </tr>
<% @participants.each do |participant| %>

  <tr>
  	<td>
	<% if(participant.photo_file_name.blank?)&(participant.image.blank?) %>
		<%= image_tag("/images/default.jpg",  :size => "150x100" ) %>
	<% end %>
	<% if(participant.photo_file_name.blank?)%>
		<%= image_tag participant.image,  :size => "150x100" %>
	<% end %>
	<% if(participant.image.blank?)%>
		<%= image_tag participant.photo.url,  :size => "150x100" %>
	<% end %>
		
	</td>
	<td>
		<h1><%= link_to participant.name, "/service/all_play_consume/21"  %></h1>
	</td>
  </tr>
<% end %>
</table>

<br />

